difference between having and where clause in sql with example